-
Notifications
You must be signed in to change notification settings - Fork 440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
show feedback when WebRTC is not supported by the browser #97
Conversation
According to https://github.com/andyet/SimpleWebRTC there is a property So you should be able to query all sorts of properties from it. |
|
Current coverage is 6.93% (diff: 100%)@@ master #97 diff @@
========================================
Files 11 11
Lines 577 577
Methods 39 39
Messages 0 0
Branches 0 0
========================================
Hits 40 40
Misses 537 537
Partials 0 0
|
9ed70d5
to
099d998
Compare
This is now ready for review :) |
} | ||
$('#emptycontent h2').text(message); | ||
$('#emptycontent p').text(messageAdditional); | ||
}); | ||
|
||
if(!OCA.SpreedMe.webrtc.capabilities.support) { | ||
console.log('WebRTC not supported', error); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
error
is not defined here (as reported by eslint)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah right, just a boolean so no error message. Will just remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
lgtm if the undefined variable is fixed |
099d998
to
bc6a593
Compare
bc6a593
to
18641de
Compare
@Ivansss @MorrisJobke @rullzer @LukasReschke please review :) |
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
1d355d7
to
6d499d7
Compare
I tested this and fixed another case in IE11 and Edge. |
👍 |
👍 |
What is the correct error handler? I suppose
on('WebrtcError'
is wrong ;)Please help @fancycode @LukasReschke :)